<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HexFiend: HFLayoutRepresenter.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">HexFiend
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">HFLayoutRepresenter.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_h_f_layout_representer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  HFLayoutRepresenter.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  HexFiend_2</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Copyright 2007 ridiculous_fish. All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#import &lt;HexFiend/HFRepresenter.h&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="interface_h_f_layout_representer.html">   41</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a> : <a class="code" href="interface_h_f_representer.html">HFRepresenter</a> {</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    NSMutableArray *<a class="code" href="interface_h_f_layout_representer.html#a6c8494accd0fd1ef12bb6bf5f24860f9">representers</a>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    BOOL <a class="code" href="interface_h_f_layout_representer.html#a88bae352e0a85af02dfef594b2c75bb9">maximizesBytesPerLine</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;}</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">@property</span> (readonly, copy) NSArray *<a class="code" href="interface_h_f_layout_representer.html#a6c8494accd0fd1ef12bb6bf5f24860f9">representers</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;- (void)addRepresenter:(<a class="code" href="interface_h_f_representer.html">HFRepresenter</a> *)representer;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;- (void)removeRepresenter:(<a class="code" href="interface_h_f_representer.html">HFRepresenter</a> *)representer;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">@property</span> (nonatomic) BOOL <a class="code" href="interface_h_f_layout_representer.html#a88bae352e0a85af02dfef594b2c75bb9">maximizesBytesPerLine</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;- (CGFloat)minimumViewWidthForLayoutInProposedWidth:(CGFloat)proposedWidth;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;- (NSUInteger)maximumBytesPerLineForLayoutInProposedWidth:(CGFloat)proposedWidth;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;- (CGFloat)minimumViewWidthForBytesPerLine:(NSUInteger)<a class="code" href="interface_h_f_representer.html#a821a42b782b48dd2dda877807f0eff54">bytesPerLine</a>;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;- (void)<a class="code" href="interface_h_f_layout_representer.html#a4d2e3123689bdc1f6907fa75de4e4ab3">performLayout</a>;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keyword">@end</span></div><div class="ttc" id="interface_h_f_representer_html_a821a42b782b48dd2dda877807f0eff54"><div class="ttname"><a href="interface_h_f_representer.html#a821a42b782b48dd2dda877807f0eff54">-[HFRepresenter bytesPerLine]</a></div><div class="ttdeci">NSUInteger bytesPerLine()</div></div>
<div class="ttc" id="interface_h_f_layout_representer_html_a88bae352e0a85af02dfef594b2c75bb9"><div class="ttname"><a href="interface_h_f_layout_representer.html#a88bae352e0a85af02dfef594b2c75bb9">HFLayoutRepresenter::maximizesBytesPerLine</a></div><div class="ttdeci">BOOL maximizesBytesPerLine</div><div class="ttdef"><b>Definition:</b> HFLayoutRepresenter.h:58</div></div>
<div class="ttc" id="interface_h_f_layout_representer_html"><div class="ttname"><a href="interface_h_f_layout_representer.html">HFLayoutRepresenter</a></div><div class="ttdoc">An HFRepresenter responsible for arranging the views of other HFRepresenters attached to the same HFC...</div><div class="ttdef"><b>Definition:</b> HFLayoutRepresenter.h:41</div></div>
<div class="ttc" id="interface_h_f_representer_html"><div class="ttname"><a href="interface_h_f_representer.html">HFRepresenter</a></div><div class="ttdoc">The principal view class of Hex Fiend&amp;#39;s MVC architecture. </div><div class="ttdef"><b>Definition:</b> HFRepresenter.h:29</div></div>
<div class="ttc" id="interface_h_f_layout_representer_html_a4d2e3123689bdc1f6907fa75de4e4ab3"><div class="ttname"><a href="interface_h_f_layout_representer.html#a4d2e3123689bdc1f6907fa75de4e4ab3">-[HFLayoutRepresenter performLayout]</a></div><div class="ttdeci">void performLayout()</div></div>
<div class="ttc" id="interface_h_f_layout_representer_html_a6c8494accd0fd1ef12bb6bf5f24860f9"><div class="ttname"><a href="interface_h_f_layout_representer.html#a6c8494accd0fd1ef12bb6bf5f24860f9">HFLayoutRepresenter::representers</a></div><div class="ttdeci">NSArray * representers</div><div class="ttdoc">Return the array of representers managed by the receiver. */. </div><div class="ttdef"><b>Definition:</b> HFLayoutRepresenter.h:48</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
